
package com.joysuch.wwyt.core.bean;

import org.apache.shiro.authc.UsernamePasswordToken;

public class UsernamePasswordTokenWithCompanyCode extends UsernamePasswordToken {
    private String companyCode;
    private String loginType;

    public UsernamePasswordTokenWithCompanyCode() {
        super();
    }

    public UsernamePasswordTokenWithCompanyCode(String username, char[] password, boolean rememberMe, String host) {
        super(username, password, rememberMe, host);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, char[] password, boolean rememberMe) {
        super(username, password, rememberMe);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, char[] password, String host) {
        super(username, password, host);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, char[] password) {
        super(username, password);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, String password, boolean rememberMe, String host) {
        super(username, password, rememberMe, host);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, String password, boolean rememberMe) {
        super(username, password, rememberMe);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, String password, String host) {
        super(username, password, host);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, String password) {
        super(username, password);
    }

    public UsernamePasswordTokenWithCompanyCode(String username, String password, String loginType, String host) {
        super(username, password);
        this.loginType = loginType;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
